/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.com.biblioteca.exceptions;

/**
 *
 * @author João Sávio Ceregatti Longo - joaosavio@gmail.com
 */
public class NotFoundException extends RuntimeException {

    public NotFoundException(String message) {
        super(message);

    }

    public NotFoundException(Class classe) {
       super(classe.getSimpleName() + " was not found.");
    }
}
